[INFO] fetching crate nomos 0.1.0...
[INFO] testing nomos-0.1.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479
[INFO] extracting crate nomos 0.1.0 into /workspace/builds/worker-10/source
[INFO] validating manifest of crates.io crate nomos 0.1.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nomos 0.1.0
[INFO] finished tweaking crates.io crate nomos 0.1.0
[INFO] tweaked toml for crates.io crate nomos 0.1.0 written to /workspace/builds/worker-10/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b53d42b41bb2a51dcfb5482bea39bc7d568c5b57d5e8bfcc0871185d56fd0313
[INFO] running `Command { std: "docker" "start" "-a" "b53d42b41bb2a51dcfb5482bea39bc7d568c5b57d5e8bfcc0871185d56fd0313", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b53d42b41bb2a51dcfb5482bea39bc7d568c5b57d5e8bfcc0871185d56fd0313", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b53d42b41bb2a51dcfb5482bea39bc7d568c5b57d5e8bfcc0871185d56fd0313", kill_on_drop: false }`
[INFO] [stdout] b53d42b41bb2a51dcfb5482bea39bc7d568c5b57d5e8bfcc0871185d56fd0313
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2a9ca1196c0576b0bafb878540c0261bfa906b593f7756aa54057cc100435f16
[INFO] running `Command { std: "docker" "start" "-a" "2a9ca1196c0576b0bafb878540c0261bfa906b593f7756aa54057cc100435f16", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.98
[INFO] [stderr]    Compiling proc-macro2 v1.0.28
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.74
[INFO] [stderr]    Compiling serde v1.0.127
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling gimli v0.25.0
[INFO] [stderr]    Compiling cranelift-entity v0.31.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.20
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling rayon-core v1.9.1
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling wasmparser v0.32.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling backtrace v0.3.61
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling owning_ref v0.3.3
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.5
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling cranelift-codegen-meta v0.31.0
[INFO] [stderr]    Compiling cranelift-bforest v0.31.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling crossbeam-channel v0.5.1
[INFO] [stderr]    Compiling blake2b_simd v0.4.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling smallvec v0.6.14
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling memoffset v0.6.4
[INFO] [stderr]    Compiling indexmap v1.7.0
[INFO] [stderr]    Compiling rayon v1.5.1
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling raw-cpuid v6.1.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling page_size v0.4.2
[INFO] [stderr]    Compiling errno v0.2.7
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]    Compiling memmap v0.6.2
[INFO] [stderr]    Compiling memmap v0.7.0
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling wasmer-runtime-core v0.5.7
[INFO] [stderr]    Compiling crossbeam-deque v0.8.1
[INFO] [stderr]    Compiling colored v1.9.3
[INFO] [stderr]    Compiling dynasmrt v0.3.1
[INFO] [stderr]    Compiling addr2line v0.16.0
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling synstructure v0.12.5
[INFO] [stderr]    Compiling cranelift-codegen v0.31.0
[INFO] [stderr]    Compiling serde_derive v1.0.127
[INFO] [stderr]    Compiling dynasm v0.3.2
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling serde_json v1.0.66
[INFO] [stderr]    Compiling bincode v1.3.3
[INFO] [stderr]    Compiling serde-bench v0.0.7
[INFO] [stderr]    Compiling serde_bytes v0.10.5
[INFO] [stderr]    Compiling hashbrown v0.1.8
[INFO] [stderr]    Compiling nomos-runtime v0.1.0
[INFO] [stderr]    Compiling target-lexicon v0.4.0
[INFO] [stderr]    Compiling wasmer-singlepass-backend v0.5.7
[INFO] [stderr]    Compiling wasmer-clif-fork-frontend v0.31.0
[INFO] [stderr]    Compiling cranelift-native v0.31.0
[INFO] [stderr]    Compiling wasmer-clif-fork-wasm v0.31.0
[INFO] [stderr]    Compiling wasmer-clif-backend v0.5.7
[INFO] [stderr]    Compiling wasmer-runtime v0.5.7
[INFO] [stderr]    Compiling nomos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/nomos.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let state = &mut shared_context.state;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/nomos.rs:155:33
[INFO] [stdout]     |
[INFO] [stdout] 155 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execution_result`
[INFO] [stdout]    --> src/nomos.rs:161:37
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...                   let execution_result =
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/nomos.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let memory = instance.context_mut().memory(0);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut state: HashMap<Vec<u8>, Vec<u8>> = HashMap::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let mut shared_context: &mut SharedContext =
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let mut shared_context: &mut SharedContext =
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 let mut shared_context: &mut SharedContext =
[INFO] [stdout]    |                     ----^^^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/nomos.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let mut shared_context: &mut SharedContext =
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut last_state: HashMap<Vec<u8>, Vec<u8>> = self.state.clone();
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `VM`
[INFO] [stdout]  --> src/nomos.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct VM {
[INFO] [stdout]   |            ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `SharedContext`
[INFO] [stdout]   --> src/nomos.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct SharedContext {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/nomos.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(code: Vec<u8>) -> VM {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set`
[INFO] [stdout]   --> src/nomos.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn set<K: AsRef<[u8]>, V: AsRef<[u8]>>(&mut self, key: K, value: V) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]   --> src/nomos.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get<K: AsRef<[u8]>>(&self, key: K) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `call`
[INFO] [stdout]   --> src/nomos.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn call(&mut self, function_name: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_str`
[INFO] [stdout]    --> src/nomos.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn print_str(ctx: &mut Ctx, ptr: u32, len: u32) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 37.36s
[INFO] running `Command { std: "docker" "inspect" "2a9ca1196c0576b0bafb878540c0261bfa906b593f7756aa54057cc100435f16", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a9ca1196c0576b0bafb878540c0261bfa906b593f7756aa54057cc100435f16", kill_on_drop: false }`
[INFO] [stdout] 2a9ca1196c0576b0bafb878540c0261bfa906b593f7756aa54057cc100435f16
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0136c3d17ccc3bdf2b87de234a38f1926fdf93f4e7efb8d997b69155a4bffd28
[INFO] running `Command { std: "docker" "start" "-a" "0136c3d17ccc3bdf2b87de234a38f1926fdf93f4e7efb8d997b69155a4bffd28", kill_on_drop: false }`
[INFO] [stderr]    Compiling nomos v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `state`
[INFO] [stdout]    --> src/nomos.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let state = &mut shared_context.state;
[INFO] [stdout]     |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_state`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/nomos.rs:155:33
[INFO] [stdout]     |
[INFO] [stdout] 155 | ...                   Err(e) => {
[INFO] [stdout]     |                           ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `execution_result`
[INFO] [stdout]    --> src/nomos.rs:161:37
[INFO] [stdout]     |
[INFO] [stdout] 161 | ...                   let execution_result =
[INFO] [stdout]     |                           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `memory`
[INFO] [stdout]    --> src/nomos.rs:198:13
[INFO] [stdout]     |
[INFO] [stdout] 198 |         let memory = instance.context_mut().memory(0);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let mut state: HashMap<Vec<u8>, Vec<u8>> = HashMap::new();
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 |             let mut shared_context: &mut SharedContext =
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:73:17
[INFO] [stdout]    |
[INFO] [stdout] 73 |             let mut shared_context: &mut SharedContext =
[INFO] [stdout]    |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |                 let mut shared_context: &mut SharedContext =
[INFO] [stdout]    |                     ----^^^^^^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/nomos.rs:131:17
[INFO] [stdout]     |
[INFO] [stdout] 131 |             let mut shared_context: &mut SharedContext =
[INFO] [stdout]     |                 ----^^^^^^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/nomos.rs:34:13
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let mut last_state: HashMap<Vec<u8>, Vec<u8>> = self.state.clone();
[INFO] [stdout]    |             ----^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `VM`
[INFO] [stdout]  --> src/nomos.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct VM {
[INFO] [stdout]   |            ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct is never constructed: `SharedContext`
[INFO] [stdout]   --> src/nomos.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct SharedContext {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/nomos.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub fn new(code: Vec<u8>) -> VM {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `set`
[INFO] [stdout]   --> src/nomos.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 |     pub fn set<K: AsRef<[u8]>, V: AsRef<[u8]>>(&mut self, key: K, value: V) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get`
[INFO] [stdout]   --> src/nomos.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub fn get<K: AsRef<[u8]>>(&self, key: K) -> Option<&Vec<u8>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `call`
[INFO] [stdout]   --> src/nomos.rs:33:12
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn call(&mut self, function_name: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `print_str`
[INFO] [stdout]    --> src/nomos.rs:209:4
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn print_str(ctx: &mut Ctx, ptr: u32, len: u32) {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../addition-wasm/target/wasm32-unknown-unknown/release/addition_wasm.wasm: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:8:30
[INFO] [stdout]    |
[INFO] [stdout] 8  |           let addition_bytes = include_bytes!(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 9  | |             "../../addition-wasm/target/wasm32-unknown-unknown/release/addition_wasm.wasm"
[INFO] [stdout] 10 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read src/../../multiplication-wasm/target/wasm32-unknown-unknown/release/multiplication_wasm.wasm: No such file or directory (os error 2)
[INFO] [stdout]   --> src/lib.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 11 |           let multiply_bytes = include_bytes!(
[INFO] [stdout]    |  ______________________________^
[INFO] [stdout] 12 | |             "../../multiplication-wasm/target/wasm32-unknown-unknown/release/multiplication_wasm.wasm"
[INFO] [stdout] 13 | |         );
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actions`
[INFO] [stdout]   --> src/lib.rs:15:29
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let increment_msg = actions::Action::Increment(6);
[INFO] [stdout]    |                             ^^^^^^^ use of undeclared crate or module `actions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `actions`
[INFO] [stdout]   --> src/lib.rs:25:30
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let execute_action = actions::Action::Execute(multiply_bytes.to_vec());
[INFO] [stdout]    |                              ^^^^^^^ use of undeclared crate or module `actions`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nomos` due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "0136c3d17ccc3bdf2b87de234a38f1926fdf93f4e7efb8d997b69155a4bffd28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0136c3d17ccc3bdf2b87de234a38f1926fdf93f4e7efb8d997b69155a4bffd28", kill_on_drop: false }`
[INFO] [stdout] 0136c3d17ccc3bdf2b87de234a38f1926fdf93f4e7efb8d997b69155a4bffd28
